import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Carousel0 from '../model_n/Carousel0.vue';
import Lay from '../model_n/lay.vue';
import Description from '../model_n/Description.vue';
import Cal1 from '../model_n/Cal1.vue';
import Carousel from '../model_n/Carousel.vue';


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/carousel0',
    component: Carousel0
  },
  {
    path: '/carousel',
    component: Carousel
  },
  {
    path: '/cal1',
    component: Cal1
  },
  {
    path: '/lay',
    component: Lay
  },
  {
    path: '/description',
    component: Description
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
